<%--
  Created by IntelliJ IDEA.
  User: 16877
  Date: 2022/6/30
  Time: 19:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>hello jsp</h1>

<%--这种形式的jsp脚本的内容会直接放进jspService中--%>
<%System.out.println("hello,jsp~");
int i = 3;%>

<%--这种jsp脚本的内容会放到out.print中--%>
<%="hello"%>
<%=i%>

<%--这种jsp脚本内容会放在jspService外,被类直接包含--%>
<%!void show(){}
String name = "zhangsan";%>
</body>
</html>
